package com.jackstraw.jack_base.datasource.database.generator.dao;


import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 数据库接口
 */
public interface GeneratorDao {
    List<Map<String, Object>> queryList(@Param("tableNameList") List<String> tableNameList);

    Map<String, Object> queryTable(@Param("tableName") String tableName);

    List<Map<String, Object>> queryColumns(@Param("tableName") String tableName);

    List<Map<String, Object>> queryPkColumns(@Param("tableName") String tableName);
}
